<?php 
  echo '<!DOCTYPE html>
<html lang="es-ES">
<head>
  <meta charset="utf-8">
  <title>Buscaesbirros</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="">
  <meta name="author" content="">
  <link href="/buscaesbirros/css/bootstrap.min.css" rel="stylesheet">
  <link href="/buscaesbirros/css/bootstrap-responsive.min.css" rel="stylesheet">
  <link href="/buscaesbirros/css/fixes.css" rel="stylesheet">
</head>
<body>
  <div class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-inner">
      <div class="container">
        <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="brand" href="/buscaesbirros/index.php">Buscaesbirros</a>
        <div class="nav-collapse collapse">
          <ul class="nav">';
  if(isset($_SESSION['client'])) {
  echo '<li class="dropdown pull-right">
              <a href="#" class="dropdown-toggle pull-right" data-toggle="dropdown">
                Conectado como ' . ucfirst($_SESSION['client']) . ' <b class="caret"></b>
              </a>
              <ul class="dropdown-menu">
                <li class="nav-header">Opciones</li>
                <li>
                  <a href="/buscaesbirros/logout.php">Salir</a>
                </li>
              </ul>
            </li>';
  }
  echo '</ul>
        </div>
        <!--/.nav-collapse --> </div>
    </div>
  </div>
  ';
?>